Skip to content

feat: Add Turkish language support (turkce-lite/full/ultra)#179

Open
AlperGuven wants to merge 11 commits intoJuliusBrussee:mainfrom
AlperGuven:feat/turkish-mode
Open

feat: Add Turkish language support (turkce-lite/full/ultra)#179
AlperGuven wants to merge 11 commits intoJuliusBrussee:mainfrom
AlperGuven:feat/turkish-mode

Conversation

@AlperGuven
Copy link
Copy Markdown

This branch is Feat/turkish mode commits ahead of JuliusBrussee:main — Contribute / Open Pull Request. Intention is to add Turkish language support to this package. Due to the agglutinative nature of Turkish, we used different strategies than those used for the English word “caveman,” and we also included the benchmark results for Claude.

- Added `turkce-lite`, `turkce-full`, and `turkce-ultra` intensity levels to `skills/caveman/SKILL.md`
- Added `/caveman turkce`, `/caveman türkçe`, "mağara adam modu", "az token lütfen", and "kısa konuş" triggers to the skill description and `hooks/caveman-mode-tracker.js`
- Added Turkish benchmark prompts in `evals/prompts/tr.txt` and updated `evals/llm_run.py` to read all `.txt` prompt files
- Updated README.md to include the Turkish mode documentation, examples, and token saving demonstration (using agglutinative language optimizations)
Add .eval-home to .gitignore to prevent accidental commits of evaluation home directories.
Remove the separate Turkish prompts file (tr.txt) and merge its contents into the existing English prompts file (en.txt). This simplifies the evaluation prompt structure by maintaining all prompts in one location. The commit_msg.txt file, which contained documentation for a previous Turkish feature addition, is also removed as it is no longer needed.
Remove token counts from Turkish example to focus on compression ratio.
Update benchmark table with new token counts and recalculated averages.
Load environment variables from .env.local file to allow custom configuration.
Set a separate HOME directory for Claude to avoid interfering with user's session.
Simplify prompt loading by reading only the English prompts file.
Update SKILL.md to include new language variants (turkce and wenyan) in the mode switch command. This expands the caveman skill's stylistic options for users.
Add new section explaining Turkish mode functionality, including
three compression levels (lite, full, ultra) with examples and
benchmark results showing average 66% token savings.
Update README and SKILL documentation to provide more specific guidance for each Turkish caveman mode. Clarify the linguistic transformations applied in each level (Lite, Full, Ultra) and update examples to better illustrate the output style.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant